<%@ page language="java" contentType="text/html; charset=GBK"
    pageEncoding="GBK"%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>stock product - query</title>
</head>

<script type="text/javascript">
	function queryAll_(){
		fm.action = "<%=request.getContextPath() %>/"+fm.action+"?method=queryResult";
		fm.submit();
	}
</script>

<body>
	<form action="storage.do" name="StorageForm" method="POST">
		<table width="100%" cellpadding="5" cellspacing="1" border="1">
			<tr>
				<td colspan="4" align="center">stock product query</td>
			</tr>
			<tr>
				<td>product name </td>
				<td><input type="text" name="productName" maxLength="30" ></td>
				<td>make date start </td>
				<td>
					from<input type="text" name="makeDateStart" maxLength="10">
					to<input type="text" name="makeDateEnd" maxLength="10">
				</td>
			</tr>
		</table>
		<br>
		<table width="100%" cellpadding="5" cellspacing="1">
			<tr>
				<td align="center"><input type="button" value="query" onclick="queryAll_()"></td>
			</tr>
		</table>
	</form>
</body>

<script type="text/javascript">
	var fm = StorageForm;
</script>

</html>